package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TransportCost;
import cn.stylefeng.guns.modular.transport.model.params.TransportCostParam;
import cn.stylefeng.guns.modular.transport.model.result.TransportCostResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 运输费用表 服务类
 */
public interface TransportCostService extends IService<TransportCost> {

    /**
     * 新增
     */
    void add(TransportCostParam param);

    /**
     * 删除
     */
    void delete(TransportCostParam param);

    /**
     * 更新
     */
    void update(TransportCostParam param);

    /**
     * 查询单条数据，Specification模式
     */
    TransportCostResult findBySpec(TransportCostParam param);

    /**
     * 查询列表，Specification模式
     */
    List<TransportCostResult> findListBySpec(TransportCostParam param,Long operateId);

    /**
     * 查询分页数据，Specification模式
     */
     LayuiPageInfo findPageBySpec(TransportCostParam param,String condition,Long operateId);

	void deleteBySpec(TransportCostParam param);

	List<TransportCostResult> findListBySpecS(TransportCostParam param);

}
